# Maintainer: Maarten van Gompel <proycon@anaproy.nl>
pkgname=wf-shell
pkgver=0.8.0
pkgrel=1
pkgdesc="A GTK3-based panel for wayfire"
url="https://wayfire.org"
arch="all"
license="MIT"
install="$pkgname.post-install"
makedepends="
	meson
	wayfire-dev
	gtk-layer-shell-dev
	libdbusmenu-gtk3-dev
	pulseaudio-dev
	alsa-lib-dev
	gtkmm3-dev
	"
options="!check" # no testsuite
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/WayfireWM/wf-shell/releases/download/v$pkgver/wf-shell-$pkgver.tar.xz"

build() {
	abuild-meson -Dpulse=enabled -Dwayland-logout=true . output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
cdaebb4aabcfcb4a4d2ef0f7845348892e5731cc44417861b958d3f067f19b6bab002845d7663ef50f57e462664ff1ca0cdab74257109211db8fa20a47ef53ae  wf-shell-0.8.0.tar.xz
"
